# TODO 字符的类型转换  int  float str bool

# #int转float
# num1 = 15
# print(float(num1))
# print(type(num1), num1)

#int转str
# num2 = 19
# print(str(num2))
# print(type(num2), num2)

# int转 bool
# num3 = 0
# print(bool(num3))
# print(type(num3), num3)

#float转 int
# float1 = 13.5
# print(int(float1))
# print(type (int(float1)), float1)

#str转 int
# str1 = '3'
# print(int(str1))
# print(type (int(str1)), str1)

#str转bool
# str2 = '1'
# print(bool(str2))

#str转 float
str3 = '3'
print(float(str3))
print(type(str3), str3)

